GtkMagnifier: Add a resizing mode
authorMatthias Clasen <mclasen@redhat.com>
Sun, 21 Dec 2014 00:16:46 +0000 (19:16 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 21 Dec 2014 00:16:46 +0000 (19:16 -0500)
commit10d0ca0a3d5536a5c9926998e54775a8b0fd8b2c
tree4303abd26e9f1caef8abeee308bd64755805582e
parent42a6ae6c6c54ddf2f1c0836ed2e67180c0617c0a
GtkMagnifier: Add a resizing mode

In addition to the fixed-size mode that is used by the text view,
add a mode in which the magnifier requests enough size to render
the entire inspected widget at the current magnification. In this
mode, the magnifier will update its size when the size of the
inspected widget changes. Also, make the magnifier redraw on its
own whenever the inspected widget draws.
gtk/gtkmagnifier.c
gtk/gtkmagnifierprivate.h